function checkcomment(obj){
         var action = obj.attr('action');
         var data=obj.serialize();
         $commVal=$('.textarea-comment').val();             
         if($commVal=='' || $commVal==null){
             $.jBox.alert('还没哟填写内容哟~','表单数据为空')
             return false;
         }
         
         
         $.ajax({
                      url:action,
                      dataType:'json',
                      type:'post',
                      data:data,
                      success:function(data){
                          if(data=='login'){
                             $.jBox.alert('请先登录!','没有登录');
                             $('#login').show();
                             $('#login [name=t_loginnane]').focus();
                          }
                          if(data){
                           var comm_str='';
comm_str+='<div class="art_comment_list">';
comm_str+='<ul class="art_comment_list_ul1"><p>';
comm_str+='<a href="__APP__/u/id/'+data.uid+'" target="_blank" title="'+data.username+'"><img src="__TPLIMG__/'+data.image+'" alt="'+data.username+'"></a><br>';
comm_str+='<img src="__TPLIMG__/checkboy('+data.uid+',1)" title="checkboy(\'title\')" style="margin-right: 3px;"><a href="#" rel="dropmenu584339" class="b" id="creatorname1195315">lily2011 <img src="__TPLIMG__/down_icon.gif"></a><br>'+data.city+' \/ '+data.profession+'+</p></ul>';
comm_str+='<ul class="art_comment_list_ul2">';
comm_str+='<li class="art_comment_list_ul2_li1">';
comm_str+='<p class="art_comment_list_ul2_p1">';
comm_str+='<span class="digg_right">16<font class="font14">F</font><br>' ;
comm_str+='<br><a style="CURSOR: pointer;" onclick="ding_comment("'+data.uid+'") id="comment1195315" class="comment_digg" title="说得好，我赞！">0</a></span>';
comm_str+='<span class="b">刚刚发表</span><br>';
comm_str+='<span class="font14" id="content'+data.uid+'">'+data.comment+'</span></p></li>';
comm_str+='<li class="art_comment_list_ul2_li2">';
comm_str+='<p class="art_comment_list_ul2_p2">';
comm_str+='<a href="#" onclick="reply("'+data.uid+'","'+data.username+'");return false;"><img src="__TPLIMG__/re.gif">回复</a>|';
comm_str+='<a onclick="return jubao(1195315,584339);" style="cursor:hand"><img src="__TPLIMG__/jb.gif">举报</a></p></li>';
comm_str+='<li class="gg" id="gg1195315" style="display:none"></li></ul></div>';

                         $('.art_comment_list').eq(0).before(comm_str);
                          }
                      }
                  })
         return false;
}
